package com.huangpuweb.task.service.imp;

import com.huangpuweb.task.model.ZyDwdDtReworkPersonHpq;
import com.huangpuweb.task.model.ZyDwdDtReworkPersonHpqRowMapper;
import com.huangpuweb.task.service.SyncReworkDataService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SyncReworkDataServiceImp extends BaseDsjzxDataServiceImp implements SyncReworkDataService {



    @Override
    public List<ZyDwdDtReworkPersonHpq> getListZyDwdDtReworkPersonHpq() {
        String sql="select * from dwd_dt_rework_person_hpq  where STAT_DATE = DATE_FORMAT(CURDATE(), '%Y%m%d')";
        return getEntryList(sql,new ZyDwdDtReworkPersonHpqRowMapper(),new Object[]{});
    }
}
